package com.dao;

import com.pojo.Shop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopMapper {

    List<Shop> findAll();

    Shop findById(Integer id);

    int insert(Shop shop);

    int selectLastId();

    int update(Shop shop);

    int deleteById(Integer id);
}
